package com.example.robertluozizhao.framecollectdemo.activity;

import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.example.robertluozizhao.framecollectdemo.R;
import com.example.robertluozizhao.framecollectdemo.data.test.TransactionBean;
import com.example.robertluozizhao.framecollectdemo.view.custom.TransactionProgressView;

import java.util.ArrayList;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * @author luo_zi_zhao
 * @version V1.0 当前版本描述信息
 * @FileName com.example.robertluozizhao.framecollectdemo.activity
 * @date 2019/4/12 16:56
 */

public class TransactionProgressDiyActivity extends AppCompatActivity {

    @BindView(R.id.tpv)
    TransactionProgressView tpv;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_transaction_progress_diy_view);
        ButterKnife.bind(this);
        initData();
    }

    private void initData() {
        ArrayList<TransactionBean> transactionBeans = new ArrayList<>();
        transactionBeans.add(new TransactionBean("2019-04-17 08:30","2019-04-17 09:30","吃早饭！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 10:30","2019-04-17 12:30","干活干活干活干活干活干活干活干活干活干活！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 13:30","2019-04-17 14:00","fs4f6s4fs4收费方式发生1ffsfsf1sfsfs萨菲罗斯发生了法律！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 14:00","2019-04-17 14:30","午休时间sfsfsf是否发顺丰深V深V深V是舒服舒服舒服深V深V改师傅师傅师傅！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 14:40","2019-04-17 16:40","午休时间是否深V深V的深V深V申诉！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 16:40","2019-04-17 16:50","午休时间！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 19:40","2019-04-17 19:50","午休时间！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 19:50","2019-04-17 20:00","午休是否是否深V深V深V深V深V深V是sfsfssdvsvsvsvsvsvsv时间！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 20:10","2019-04-17 20:05","午休时间！！！"));


        transactionBeans.add(new TransactionBean("2019-04-17 20:20","2019-04-17 20:35","午fssdssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss发的嗯额ever厄尔还而GV而vegveev休时间！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 20:40","2019-04-17 20:55","午休时间！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 21:10","2019-04-17 21:25","午休时间！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 23:10","2019-04-17 23:25","午舒服舒服舒服舒服舒服舒服sfsfsfsfs  fwcwas s 舒服舒服舒服舒服舒服舒服舒服是第三方深V深V休时间！！！"));
        transactionBeans.add(new TransactionBean("2019-04-17 23:40","2019-04-17 23:55","午休时间！！！"));

        tpv.setmDataSource(transactionBeans);
    }


}
